<template> 
    <h3>Slots再续集</h3>
    <slot name="header" :msg="childMessage"></slot>
    <slot name="main" :job="jobMessage"></slot>
</template>

<script>

export default {
    data() {
        return {
           childMessage:"子组件数据",
           jobMessage:"百战程序员"
        }
    }
}
</script>